﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using StyleMVVM.View.Regions;
#if !DOT_NET
using Windows.Foundation.Collections;

#endif

namespace StyleMVVM.View
{
	public interface IRegionCollectionChanged : IVectorChangedEventArgs
	{
		IEnumerable<Region> OldRegions { get; }

		IEnumerable<Region> NewRegions { get; }
	}

	public sealed class RegionCollectionChanged : IRegionCollectionChanged
	{
		public CollectionChange CollectionChange { get; internal set; }

		public uint Index { get; internal set; }

		public IEnumerable<Region> OldRegions { get; internal set; }

		public IEnumerable<Region> NewRegions { get; internal set; }
	}
}